home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SATAN11.ZIP / SRC / FPING / CHANGES < prev    next >
Encoding:
Text File  |  1995-03-15  |  3.0 KB  |  83 lines

  1. * Revision 1.20  1993/02/23  00:16:38  schemers
  2.  
  3. fixed syntax error (should have compiled before checking in...)
  4.  
  5. * Revision 1.19  1993/02/23  00:15:15  schemers
  6.  
  7. turned off printing of "is alive" when -a is specified.
  8.  
  9. * Revision 1.18  1992/07/28  15:16:44  schemers
  10.  
  11. added a fflush(stdout) call before the summary is sent to stderr, so
  12. everything shows up in the right order.
  13.  
  14. * Revision 1.17  1992/07/23  03:29:42  schemers
  15. * Revision 1.16  1992/07/22  19:24:37  schemers
  16.  
  17. Fixed declaration of timeval_diff. Didn't notice the problem because
  18. I use 'cc' in stead of gcc under Ultrix. Time to switch? :-)
  19.  
  20. Modified file reaing so it would skip blank lines or lines starting
  21. with a '#'. Now you can do something like:
  22.  
  23. fping -ad < /etc/hosts
  24.  
  25. * Revision 1.15  1992/07/21  17:07:18  schemers
  26.  
  27. Put in sanity checks so only root can specify "dangerous" options.
  28. Changed usage to show switchs in alphabetical order.
  29. * Revision 1.14  1992/07/21  16:40:52  schemers
  30. * Revision 1.13  1992/07/17  21:02:17  schemers
  31.  
  32. Changed the default timeout to 2500 msec, and retry to 3. This was
  33. due to suggestions from people with slow (WAN) networks. The default
  34. 1 sec timeout was too fast.
  35.  
  36.  
  37. Added '-e' option for showing elapsed (round-trip) times on pakets, and
  38. modified the -s option to include min, max, and average round-trip times,
  39. and over all elapsed time.
  40.  
  41. Modified action taken when a error is returned from sendto. The action
  42. taken now considers the host unreachable and prints the hostname 
  43. followed by the errno message. The program will not exit and will continue
  44. to try other hosts.
  45.  
  46. * Revision 1.12  1992/07/17  16:38:54  schemers
  47. * Revision 1.11  1992/07/17  16:28:38  schemers
  48.  
  49.  move socket create call so I could do a setuid(getuid()) before the
  50.  fopen call is made. Once the socket is created root privs aren't needed
  51.  to send stuff out on it.
  52.  
  53.  moved num_timeout counter. It really was for debug purposes and didn't
  54.  make sense to the general public :-) Now it is the number of timeouts
  55.  (pings that didn't get received with the time limit).
  56.  
  57.  
  58. * Revision 1.10 1992/07/16  16:24:38  schemers
  59. * Revision 1.9  1992/07/16  16:00:04  schemers
  60. * Revision 1.8  1992/07/16  05:44:41  schemers
  61.  
  62. Added _NO_PROTO stuff for older compilers, and _POSIX_SOURCE
  63. for unistd.h, and _POSIX_SOURCE for stdlib.h. Also added
  64. check for __cplusplus.
  65.  
  66. Now compiles ok under Ultrix 3.1, and Sun4 using cc. Also compiled
  67. ok using g++ 2.2.2.
  68.  
  69. Changed '-a' and '-u' flags to be mutually exclusive (makes sense, since
  70. specifiying both '-a' and '-u' is the same as not specifiying anything.
  71. Since '-a' and '-u' are mutually exclusive, these options now only print
  72. the hostname, and not the 'is alive' or 'is unreachable'  messages.
  73. This makes it much easier to do stuff like:
  74.  
  75. #!/usr/local/bin/perl
  76. $hosts_to_backup=`cat /etc/hosts.backup|fping -a`;
  77.  
  78. Since you don't have to strip off the 'is alive' messages.
  79.  
  80. Changed usage to and stats to print to stderr instead of stdout.
  81.  
  82.  
  83.